﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SWDataDB.BLL;
using SWDataDB.DAL;
using SWDataDB.Models;
using System.Data;


public partial class YXPic : System.Web.UI.Page
{
    public string ZKHC, ZKFILEID, ZKCODE;

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZKHC = Request["zkhc"];
            ZKFILEID = Request["zkfid"];
            ZKCODE = Request["zkcode"];
            bind();
        }

    }
    private void bind()
    {

        //public DataSet GetPicNameWithSet(string zl_file_id,string zk_code,int hc)
        ZKImageInfo ZKIMG = new ZKImageInfo();
        DataSet ZKImgDS = ZKIMG.GetPicNameWithSet(ZKFILEID, ZKCODE, Convert.ToInt32(ZKHC));
        DataTable zkimgdt = ZKImgDS.Tables[0];
        DataView zkimgdv = zkimgdt.DefaultView;
        repeater_ZKImg.DataSource = zkimgdv;
        repeater_ZKImg.DataBind();




      

    }
}